//
//  MyILiveRtcEngineKit.m
//
//  Created by ruby on 2017/8/31.
//  Copyright © 2017年 Learnta Inc. All rights reserved.
//

#import "ILiveConst.h"

@implementation ILiveConst

static ILiveConst *_person;
+ (instancetype)allocWithZone:(struct _NSZone *)zone{
  static dispatch_once_t predicate;
  dispatch_once(&predicate, ^{
      _person = [super allocWithZone:zone];
  });
  return _person;
}

+ (instancetype)share {
  static dispatch_once_t onceToken;
  dispatch_once(&onceToken, ^{
      _person = [[self alloc]init];
  });
  return _person;
}

- (id)copyWithZone:(NSZone *)zone {
  return _person;
}
@end
